<?php

namespace app\comm\func;

/**
 * Counst类
 * Class Consts
 * @package app\comm\func
 */
class Consts
{
    /**
     * 下载头
     * @var array
     */
    static $head = [
        'ID',
        '姓名',
        '年龄',
        '手机号',
        '性别',
        '紧急联系人',
        '地址',
        '身份证',
        '毕业院校',
        '毕业时间',
        '学历',
        '是否接触过编程',
        '编程语言',
        '学习时长',
        '学习途径',
        '如何知道这门技术的',
        '如何知道欣才'];

    /**
     * 下载字段
     * @var array
     */
    static $keys = [
        'id',
        'student_name',
        'age',
        'phone',
        'sex',
        'emergency',
        'address',
        'card',
        'school',
        'school_endtime',
        'education',
        'is_propramme',
        'programme_language',
        'study_year',
        'study_approach',
        'is_know',
        'is_know_ts'];

    /**
     * 教师添加
     * @var array
     */
    static $teacherAdd = [
        'name', 'password', 'password2', 'phone'
    ];

    /**
     * 成功返回
     * @var array
     */
    static $successful = ['status' => 1, 'msg' => '成功'];

    /**
     * 失败返回
     * @var array
     */
    static $failure = ['status' => 2, 'msg' => '失败'];

    /**
     * 教师角色ID
     * @var int
     */
    static $teacher_role_id = 15;

    /**
     * 默认开启状态
     * @var int
     */
    static $is_type = 1;

    /**
     * 教师修改字段
     * @var array
     */
    static $teacherEdit = [
        'name', 'password', 'password2', 'phone', 'aid'
    ];

    /**
     * 学生增加字段
     * @var array
     */
    static $studentAdd = [
        'student_name',
        'age',
        'sex',
        'phone',
        'emergency',
        'address',
        'card',
        'school',
        'school_endtime',
        'education',
        'is_propramme',
        'programme_language',
        'study_year',
        'study_approach',
        'is_know',
        'is_know_ts',
        'classroom'
    ];

    /**
     * 学生修改字段
     * @var array
     */
    static $studentEdit = [
        'id',
        'student_name',
        'age',
        'sex',
        'phone',
        'emergency',
        'address',
        'card',
        'school',
        'school_endtime',
        'education',
        'is_propramme',
        'programme_language',
        'study_year',
        'study_approach',
        'is_know',
        'is_know_ts',
        'status',
        'label',
    ];

    /**
     * 分数字段
     * @var array
     */
    static $sroce = [
        'one' => '',
        'two' => '',
        'three' => '',
        'four' => '',
        'five' => '',
        'six' => '',
        'seven' => '',
        'everyday' => '100'
    ];

    /**
     * 日常记录字段
     * @var array
     */
    static $everyDay = [
        'node' => '笔记',
        'late' => '迟到',
        'early' => '早退',
        'leave' => '请假',
        'truant' => '旷课',
        'work' => '作业',
        'sanitation' => '卫生',
        'movie' => '看电影',
        'phone' => '玩手机',
        'game' => '打游戏',
        'Saturday' => '周六旷课',
        'hubbub' => '大声喧哗',
        'warning' => '严重警告'
    ];
}